package com.caijin.common.core.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 章节列表内容展示模型
 *
 * @author Peas
 */
@Data
@ApiModel(value = "Catalogue的VO模型", description = "章节列表VO模型")
public class CatalogueTagVO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "目录编号，主键，唯一标识，自增")
    private Long id;

    @ApiModelProperty(value = "标题")
    private String label;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "子目录")
    private List<CatalogueTagVO> children;
}
